/**
 *
 * @param {number} ms
 */
export function delay(ms = 1000) {
  return new Promise((resolve, reject) => {
    try {
      setTimeout(() => {
        resolve();
      }, ms);
    } catch (e) {
      reject(e);
    }
  });
}

export default {};
